package com.granada.mapper;

import com.granada.entity.SysPermission;

import java.util.List;
public interface SysPermissionMapper {
    int deleteByPrimaryKey(Long id);
    Long insert(SysPermission record);
    int insertSelective(SysPermission record);
    SysPermission selectByPrimaryKey(Long id);
    int updateByPrimaryKeySelective(SysPermission record);
    int updateByPrimaryKey(SysPermission record);
    List<SysPermission> selectInfoByIds (List<Long> ids);
    List<SysPermission> selectAll();
    List<SysPermission> searchPingAll();
    List<SysPermission> selectChild(Long pid);
    List<SysPermission> selectAllPlatform();
    SysPermission selectByPrimaryKeyPlatform(Long pid);
}
